module Shin
  class Base
    include HTTParty
    include HTTParty::Icebox

    def new
      self
    end

    def get(url, parameters={})
      response = self.class.get(url, parameters).parsed_response
      return [] unless response
      response
    end
  end
end
